package com.csun.cmny.provider.model.dto.follow;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.Column;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-02-15 14:24
 * @Description: the class up follow data ecg dto
 */
@Data
@ApiModel(value = "上传随访仪心电Dto")
public class UpFollowDataEcgDto implements Serializable {

    private static final long serialVersionUID = -7019813648523978571L;

    /**
     * 设备Id
     */
    @NotNull(message = "{device.id.null}")
    private Long deviceId;

    /**
     * 老人Id
     */
    private Integer oldmanId;

    /**
     * 老人姓名
     */
    private String oldmanName;

    /**
     * pr最小值
     */
    private String prMin;

    /**
     * pr最大值
     */
    private String prMax;

    /**
     * 心情指数
     */
    private String mood;

    /**
     * 心率变异性
     */
    private String hrv;

    /**
     * 心电值
     */
    @NotNull(message = "{follow.up.ecg.null}")
    @NotEmpty(message = "{follow.up.ecg.empty}")
    private String ecg;

    /**
     * 增益
     */
    private String gain;

}
